package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易来源用于标识:
	商城订单
	里程体现订单
	转入转出订单
	拉货订单对象 transaction_source
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
public class TransactionSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交易来源id */
    @Excel(name = "交易来源id")
    private Long id;

    /** 交易来源类别 */
    @Excel(name = "交易来源类别")
    private String sourceType;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSourceType(String sourceType) 
    {
        this.sourceType = sourceType;
    }

    public String getSourceType() 
    {
        return sourceType;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sourceType", getSourceType())
            .append("del", getDel())
            .toString();
    }
}
